package com.servengine.struts;

import org.apache.struts.upload.FormFile;

public class ImageFormFileForm extends ValidatorForm
{
	protected FormFile imageFormFile;//No puede llamarse image por PropertyUtils.copyProperties()
	int imageWidth=640,imageHeight=480; //For rescaling
	float imageQuality=0; //For rescaling 
	boolean hasImage;
	String imageURL;
	
	public void setImageFormFile(FormFile imageFormFile)
	{
		this.imageFormFile = imageFormFile;
	}

	public FormFile getImageFormFile()
	{
		return imageFormFile;
	}

	public void setImageWidth(int imageWidth)
	{
		this.imageWidth = imageWidth;
	}

	public int getImageWidth()
	{
		return imageWidth;
	}

	public void setImageHeight(int imageHeight)
	{
		this.imageHeight = imageHeight;
	}

	public int getImageHeight()
	{
		return imageHeight;
	}

	public void setImageQuality(float imageQuality)
	{
		this.imageQuality = imageQuality;
	}

	public float getImageQuality()
	{
		return imageQuality;
	}

	public void setHasImage(boolean hasImage)
	{
		this.hasImage = hasImage;
	}

	public boolean isHasImage()
	{
		return hasImage;
	}

	public void setImageURL(String imageURL)
	{
		this.imageURL = imageURL;
	}

	public String getImageURL()
	{
		return imageURL;
	}
}
